﻿namespace HuaWei.CommClass
{
    using System;
    using System.Runtime.CompilerServices;

    public class KHBLJ_BZGSKH
    {

        private decimal _decimal;

        private decimal _decimal1;

        private decimal _decimal2;

        private bool flag;

        public KHBLJ_BZGSKH()
        {
        }

        public KHBLJ_BZGSKH(string value)
        {
            if (value.Equals("") || value.Equals("标准公式扣回"))
            {
                this.BLJZE = 0M;
                this.KHBL = 10M;
                this.QKJE = 0M;
            }
            else
            {
                string[] strArray = value.Split(new char[] { '#' });
                this.BLJZE = Convert.ToInt64(strArray[0]);
                this.KHBL = Convert.ToInt64(strArray[1]);
                this.QKJE = Convert.ToInt64(strArray[2]);
            }
        }

        public override string ToString()
        {
            return (this.BLJZE.ToString() + "#" + this.KHBL.ToString() + "#" + this.QKJE.ToString());
        }

        public decimal BLJZE
        {
    
            get
            {
                return this._decimal;
            }
    
            set
            {
                this._decimal = value;
            }
        }

        public bool ISBZ
        {
    
            get
            {
                return this.flag;
            }
    
            set
            {
                this.flag = value;
            }
        }

        public decimal KHBL
        {
    
            get
            {
                return this._decimal1;
            }
    
            set
            {
                this._decimal1 = value;
            }
        }

        public decimal QKJE
        {
    
            get
            {
                return this._decimal2;
            }
    
            set
            {
                this._decimal2 = value;
            }
        }
    }
}

